#ifndef BUILTINCOMMAND_H_
#define BUILTINCOMMAND_H_

#include <vector>
#include <stdio.h>
#include <stdlib.h>
#include <dirent.h>
#include <iostream>
#include <cstring>
#include <sstream>
#include <sys/wait.h>

#include "Command.h"

using namespace std;

class BuiltInCommand {
private:
	vector<int>* backgroundPids;
	string command_str;
	vector<string> * arguments;

	int cd( int, char*[] );
	void nice( int, char*[] );
	void jobs();
	void wait( pid_t );

	string getProcessInfo( int, int );
	string integerToString( int );

public:
	BuiltInCommand( string, vector<string> * );
	virtual ~BuiltInCommand();

	void executeBuildInCommand();
	void setPids( vector<int>* );

};


#endif /* BUILTINCOMMAND_H_ */
